<!DOCTYPE html>
<svg>
  <use xlink:href="nonexistent.svg#nonexistent" id="a"/>
  <use xlink:href="#a"/>

  <g id="b">
    <use xlink:href="nonexistent.svg#nonexistent"/>
  </g>
  <use xlink:href="#b"/>
</svg>
<p>PASS if no crash.</p>
<script>
if (window.testRunner)
  testRunner.dumpAsText();
</script>
